﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="ihongma.Web.UI.Page.ajaxshow" ValidateRequest="false" %>
<%@ Import namespace="System.Text" %>
<%@ Import namespace="System.Data" %>
<%@ Import namespace="ihongma.Common" %>

<script runat="server">
override protected void OnInit(EventArgs e)
{

	/* 
		This page was created by ihongma Template Engine at 2013/9/5 17:13:42.
		本页面代码由ihongma模板引擎生成于 2013/9/5 17:13:42. 
	*/

	base.OnInit(e);
	StringBuilder templateBuilder = new StringBuilder(220000);
	const int channel_id = 13;

	templateBuilder.Append("<!DOCTYPE HTML>\r\n<html lang=\"zh-CN\">\r\n<head>\r\n<meta charset=\"utf-8\" />\r\n<title>");
	templateBuilder.Append(model.name);
	templateBuilder.Append("_鸿马</title>\r\n<meta name=\"description\" content=\"");
	templateBuilder.Append(Utils.DropHTML(model.contet,180));

	templateBuilder.Append("\" />\r\n<meta name=\"keywords\" content=\"");
	templateBuilder.Append(model.name);
	templateBuilder.Append("，jquery特效，JS代码，jquery弹出层，选项卡代码，导航下拉菜单\" />\r\n ");

	templateBuilder.Append("<meta content=\"all, index, follow\" name=\"robots\">\r\n<meta content=\"Copyright 2013 ihongma.com\" name=\"copyright\">\r\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\r\n<link rel=\"shortcut icon\" href=\"/favicon.ico\">\r\n<link rel=\"stylesheet\" href=\"/templates/");
	templateBuilder.Append(config.html5templateskin);
	templateBuilder.Append("/css/global.css\"\r\ntype=\"text/css\" media=\"screen\" />\r\n<link rel=\"stylesheet\" href=\"/templates/");
	templateBuilder.Append(config.html5templateskin);
	templateBuilder.Append("/css/font-awesome.min.css\">\r\n<link rel=\"stylesheet\" media=\"screen and (max-width:1483px)\" href=\"/templates/");
	templateBuilder.Append(config.html5templateskin);
	templateBuilder.Append("/css/max1483.css\"\r\n/>\r\n<link rel=\"stylesheet\" media=\"screen and (max-width:1232px)\" href=\"/templates/");
	templateBuilder.Append(config.html5templateskin);
	templateBuilder.Append("/css/max1232.css\"\r\n/>\r\n<link rel=\"stylesheet\" media=\"screen and (max-width:991px)\" href=\"/templates/");
	templateBuilder.Append(config.html5templateskin);
	templateBuilder.Append("/css/max991.css\"\r\n/>\r\n<link rel=\"stylesheet\" media=\"screen and (max-width:750px)\" href=\"/templates/");
	templateBuilder.Append(config.html5templateskin);
	templateBuilder.Append("/css/max750.css\"\r\n/>\r\n<link rel=\"stylesheet\" media=\"screen and (max-width:479px)\" href=\"/templates/");
	templateBuilder.Append(config.html5templateskin);
	templateBuilder.Append("/css/max479.css\"\r\n/>");


	templateBuilder.Append("\r\n\r\n<body>\r\n\r\n ");

	templateBuilder.Append("<header>\r\n<script>\r\n    function submitTest() {\r\n        if ($(\"#d_search\").val() == \"\")\r\n        { return false; }\r\n        else {\r\n            return true;\r\n        }\r\n    }\r\n</");
	templateBuilder.Append("script>\r\n  <div class=\"wrapper\">\r\n    <a class=\"logo\" href=\"http://www.ihongma.com/\" title=\"鸿马网\">鸿马网</a>\r\n    <div class=\"search\">\r\n    <form method=\"get\"  action=\"/search.aspx\"   onsubmit='return submitTest()'>\r\n      <input class=\"submit_input\" id=\"d_search\" name=\"keyword\" placeholder=\"Search...\" type=\"text\">\r\n      <input class=\"submit_button\" value=\"Search\" type=\"submit\">\r\n       </form>\r\n    </div>\r\n    <div class=\"menu_icon\"><span class=\"icon-align-justify\"></span></div>\r\n    <div class=\"menu\">\r\n      <ul>\r\n      <li><a id=\"a0\"  href=\"/\">首页</a></li>\r\n      <li><a id=\"a11\" href=\"");
	templateBuilder.Append(linkurl("design_list1",""));

	templateBuilder.Append("\">网站设计</a></li>\r\n      <li><a id=\"a14\" href=\"");
	templateBuilder.Append(linkurl("services",""));

	templateBuilder.Append("\">鸿马服务</a></li>\r\n      <li><a id=\"a13\" href=\"");
	templateBuilder.Append(linkurl("ajax_list1",""));

	templateBuilder.Append("\">JS特效</a></li>\r\n      <li><a id=\"a10\" href=\"");
	templateBuilder.Append(linkurl("photo_list1",""));

	templateBuilder.Append("\">图片库</a></li>\r\n      <li><a id=\"a1\" href=\"");
	templateBuilder.Append(linkurl("article_list1",""));

	templateBuilder.Append("\">有趣的事</a></li>\r\n      </ul>\r\n      <div class=\"menu_close\"><span class=\"icon-remove\"></span></div>\r\n    </div>\r\n  </div>\r\n  <hr> \r\n</header>");


	templateBuilder.Append("\r\n\r\n<div class=\"wrapper\">\r\n  <div class=\"ajax_left_nav\">\r\n      <dl>\r\n       ");

	DataTable aj_list = newget_category_list(13,0);
	

	int ajax5__loop__id=0;
	foreach(DataRow ajax5 in aj_list.Rows)
	{
		ajax5__loop__id++;


	templateBuilder.Append("\r\n          <dt><em class=\"icon-list-alt\"></em>" + ajax5["title"].ToString().Trim() + "</dt>\r\n          ");
	DataTable aj_lists = get_category_list(13,int.Parse(ajax5["id"].ToString().Trim()));
	

	int ajaxz__loop__id=0;
	foreach(DataRow ajaxz in aj_lists.Rows)
	{
		ajaxz__loop__id++;


	templateBuilder.Append("\r\n           <dd><a name='" + ajaxz["title"].ToString().Trim() + "' href='");
	templateBuilder.Append(linkurl("ajax_list",ajaxz["id"].ToString().Trim(),1));

	templateBuilder.Append("'>" + ajaxz["title"].ToString().Trim() + "</a></dd>\r\n\r\n          ");
	}	//end loop


	}	//end loop




	templateBuilder.Append("\r\n      </dl>\r\n  </div>\r\n  <div class=\"ajax_right_main\">\r\n    <h4 class=\"ajax_tile\">简介信息</h4>\r\n    <!---->\r\n    <div class=\"ajax_right_list\">\r\n      <h1 class=\"a_l_open\" onClick=\"DivSwitch(this)\"><em class=\"icon-folder-open\"></em><span class=\"d_left\">");
	templateBuilder.Append(model.name);
	templateBuilder.Append("</span></h1>\r\n      <div class=\"dictc_m\">\r\n        <div class='feature'>");
	templateBuilder.Append(model.contet);
	templateBuilder.Append("\r\n         ");string str=set_ajax_name(model.img);

	templateBuilder.Append("\r\n        <br/><br/><img alt=\"\" src=\"/tools/imgdow.ashx?URL=");
	templateBuilder.Append(str);
	templateBuilder.Append("\" border=0 alignment=\"\">\r\n        <p>主页:<a href=\"");
	templateBuilder.Append(model.Homepage);
	templateBuilder.Append("\">");
	templateBuilder.Append(model.Homepage);
	templateBuilder.Append("</a></p>\r\n        <p>下载:<a href=\"");
	templateBuilder.Append(model.Download);
	templateBuilder.Append("\">");
	templateBuilder.Append(model.Download);
	templateBuilder.Append("</a></p>\r\n        <p>示例:<a href=\"");
	templateBuilder.Append(model.Sample);
	templateBuilder.Append("\">");
	templateBuilder.Append(model.Sample);
	templateBuilder.Append("</a></p>\r\n        <p class=\"tags\"><em class=\"icon-tags\"></em> ");
	string tag = model.tag;
	
if(tag!=null){foreach(string tags in tag.Split(',')){ 

	templateBuilder.Append("\r\n          <a name=\"");
	templateBuilder.Append(tags);
	templateBuilder.Append("\" href=\"");
	templateBuilder.Append(linkurl("ajax_list3",tags,1));

	templateBuilder.Append("\">");
	templateBuilder.Append(tags);
	templateBuilder.Append("</a>&nbsp;\r\n           ");}} 

	templateBuilder.Append("</p>\r\n        </div>\r\n      </div>\r\n      <!-- Duoshuo Comment BEGIN -->\r\n        <div class=\"ds-thread\"></div>\r\n        <script type=\"text/javascript\">\r\n        var duoshuoQuery = {short_name:\"ihongma\"};\r\n            (function() {\r\n                var ds = document.createElement('script');\r\n                ds.type = 'text/javascript';ds.async = true;\r\n                ds.src = 'http://static.duoshuo.com/embed.js';\r\n                ds.charset = 'UTF-8';\r\n                (document.getElementsByTagName('head')[0] \r\n                || document.getElementsByTagName('body')[0]).appendChild(ds);\r\n        \r\n            })();\r\n        window.onload=function(){\r\n            //\r\n            jQuery(\".ds-powered-by\").css({display:'none'})\r\n            jQuery(\"#ds-sync-checkbox\").attr('checked',false)\r\n            jQuery(\".wumii-related-items-div div:last\").css({display:\"none\"})\r\n        };\r\n        </");
	templateBuilder.Append("script>\r\n      <!-- Duoshuo Comment END -->\r\n    </div>\r\n    \r\n    <!---->\r\n  </div>\r\n  <div class=\"clearfix margin_top30\"></div>\r\n</div>\r\n  \r\n  \r\n");

	templateBuilder.Append("<footer>\r\n  <div class=\"wrapper\">\r\n    <div class=\"sitemap\"><strong>IHONG<font class=\"hongmaColor\">MA</font></strong><br><a href=\"#\">sitemap</a></div>\r\n    <p class=\"usfrid\">\r\n      <strong>访问我们的好友</strong><span><a href=\"http://www.microsoft.com/\" target=\"_blank\">微软</a>|<a href=\"http://feixin.10086.cn/\" target=\"_blank\">飞信</a>|<a href=\"http://www.bjhqlc.com/\" target=\"_blank\">华强联创</a>|<a href=\"http://www.canyin.com/\" target=\"_blank\">中国餐饮网</a>|<a href=\"http://www.baidu.com/\" target=\"_blank\">百度</a>|<a href=\"http://www.csdn.net/\" target=\"_blank\">csdn</a></span>\r\n    </p>\r\n    <p class=\"cp\">Copyright &copy; <strong>Ihongma</strong> 京ICP备12052092号&nbsp;&nbsp;&nbsp;<span><a href=\"/services.aspx\">鸿马服务</a>|<a href=\"/contact_sub.aspx\">联系我们</a>|<a href=\"/content/about.aspx\">关于我们</a></span><br><a class=\"blog\"  target=\"_blank\" href=\"http://e.weibo.com/ihongma\">微博关注</a></p>\r\n    <div class=\"clearfix\"></div>\r\n  </div>\r\n</footer>\r\n\r\n\r\n\r\n\r\n\r\n<script type=\"text/javascript\" src=\"/templates/");
	templateBuilder.Append(config.html5templateskin);
	templateBuilder.Append("/js/jquery-1.7.1.min.js\"></");
	templateBuilder.Append("script>\r\n<script type=\"text/javascript\" src=\"/templates/");
	templateBuilder.Append(config.html5templateskin);
	templateBuilder.Append("/js/jquery-ui.js\"></");
	templateBuilder.Append("script>\r\n<script type=\"text/javascript\" src=\"/templates/");
	templateBuilder.Append(config.html5templateskin);
	templateBuilder.Append("/js/ihongma.js\"></");
	templateBuilder.Append("script>\r\n<!--[if lt IE 9]>\r\n<script src=\"http://html5shiv.googlecode.com/svn/trunk/html5.js\"></");
	templateBuilder.Append("script>\r\n<script src=\"http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js\"></");
	templateBuilder.Append("script>\r\n<![endif]-->\r\n\r\n\r\n<!-- include jQuery + carouFredSel plugin -->\r\n<script type=\"text/javascript\" src=\"/templates/");
	templateBuilder.Append(config.html5templateskin);
	templateBuilder.Append("/js/jquery.carouFredSel-6.2.1-packed.js\"></");
	templateBuilder.Append("script>");


	templateBuilder.Append("\r\n</body>\r\n</html>");
	Response.Write(templateBuilder.ToString());
}
</script>
